home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Technology Demos and Tools.iso / java / demo / lr / rotor.wrl < prev    next >
Encoding:
Text File  |  1996-05-17  |  1.1 KB  |  58 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.    DEF BackgroundColor Info { string "0.5 0.5 0.5" }
  5.    DEF Viewer Info { string "walk" }
  6.    DEF ViewerSpeed Info { string "0.3" }
  7.  
  8.    Clock {}
  9.  
  10. #   PointLight { location 0 0 10 }
  11.    PerspectiveCamera {
  12.       position 0 0 8
  13.       orientation 0 1 0 0
  14.    }
  15.  
  16.    DirectionalLight { direction 1 0 0 }
  17.  
  18.  
  19.    Material {
  20.       ambientColor [ 0 0 0 ]
  21.       diffuseColor [0.1 0.5 0.2 ]
  22. #      specularColor [0.8 0.8 0.8]
  23.       shininess 0.25
  24.    }
  25.    Separator {
  26. #      Rotation { rotation 0 1 0 1.57 }    
  27.       Sphere { radius 1.1 }
  28.    }
  29.  
  30.    Translation { translation -3 0 0 }
  31.       
  32.    Material {
  33.       ambientColor [ 0 0 0 ]
  34.       diffuseColor [ 0.7 0.1 0.1 ]
  35.    }
  36.    Cube { height 1.5 width 1.5 depth 1.5 }
  37.  
  38.    Translation { translation 6 0 0 }
  39.    Material {
  40.       ambientColor [ 0 0 0 ]
  41.       diffuseColor [ 0.2 0.7 0.8 ]
  42. #      specularColor [1 1 1]
  43.       shininess 0.4
  44.    }
  45.  
  46.    Separator {
  47.       Translation { translation 0 -6 0 }
  48.       Rotor { rotation 1 0 0 0 }
  49.       Translation { translation 0 6 0 }
  50.       Cone {}
  51.    }
  52.  
  53.    Translation { translation 0 -6 0 }
  54.    Cube { height 0.25 width 0.25 depth 0.25 }
  55. #   Cylinder {}
  56.    
  57. }
  58.